const Base = require('./base.js');

module.exports = class extends Base {
  async listAction() {
    const data = await this.model('renlian_list')
      .where({
        room_id: this.get('room_id')
      })
      .select();

    return this.success(data);
  }
};
